const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  devServer: {
    port: 8090,
    client: {
      overlay: false // 编译错误时，取消全屏覆盖（建议关掉）
    },
    proxy: {
      '/basic-api': {
        target: 'http://localhost:8080',
        pathRewrite: {
          '^/basic-api': ''
        }
      }
    }
  }
})
